package com.webserver.test;

/**
 * 单例设计模式
 */
public class Singleton {
    private static Singleton singleton = new Singleton();
    private Singleton() {
    }

    public static Singleton getInstance() {
        return singleton;
    }
}
